import os
import re
import test2

def main():
    if os.path.exists("dir"):
        print("y")
    pattern = re.compile(".*apple.*")
    str = re.match(pattern, "i love apple")
    print(str)
    if str:
        print("yes")

if __name__ == '__main__':
    main()
    test2.main()

test1class = test2.test2Class
print(type(test1class))